home *** CD-ROM | disk | FTP | other *** search
- package org.xml.sax;
-
- public class SAXException extends Exception {
- private String message;
- private Exception exception;
-
- public SAXException(String var1) {
- this.message = var1;
- this.exception = null;
- }
-
- public SAXException(Exception var1) {
- this.message = null;
- this.exception = var1;
- }
-
- public SAXException(String var1, Exception var2) {
- this.message = var1;
- this.exception = var2;
- }
-
- public String getMessage() {
- return this.message == null && this.exception != null ? this.exception.getMessage() : this.message;
- }
-
- public Exception getException() {
- return this.exception;
- }
-
- public String toString() {
- return this.getMessage();
- }
- }
-